<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
   <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<style type="text/css"> 
A:link {text-decoration:none; color:black;} 
A:visited {text-decoration:none; color:black;} 
A:hover {text-decoration:underline; color:#5a5a5a;}
</style>
<body>
<table width="160" cellspacing="0" border=0>
<tr background="img/cafe/menu-bg-t.gif" height="7"><td>
</td></tr>
<c:forEach items="${sessionScope.list }" var="vo">
	<tr background="img/cafe/menu-bg-m.gif"><td>&nbsp;
<c:choose>
	<c:when test="${vo.kind=='default' }">
		<img src="img/boardlist/default.png">
	</c:when>
	<c:when test="${vo.kind=='guest' }">
		<img src="img/boardlist/guest.png">
	</c:when>
	<c:when test="${vo.kind=='picture' }">
		<img src="img/board/icon-pic.jpg">
	</c:when>
	<c:when test="${vo.kind=='file' }">
		<img src="img/board/icon-file.jpg">
	</c:when>
</c:choose>	
<font size="2"><a href="board.do?command=list&board_no=${vo.board_no }&kind=${vo.kind }">${vo.name }</a></font>
</td></tr>
</c:forEach> 
<tr background="img/cafe/menu-bg-b.gif" height="7"><td>
</td></tr>
</table>
</body>
</html>